package zpf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @ClassName: ConsumerMovieFeignCustomApplication
 * @Description: 电影微服务使用定制化 Feign 在客户端进行负载均衡调度并为 Feign 配置帐号密码登录认证 Eureka
 * @Autor: ZPF
 * @Date: 2021/1/13 11:20
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
public class ConsumerMovieFeignCustomApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerMovieFeignCustomApplication.class, args);
        System.out.println("【电影自定义Feign微服务】已启动.");
    }
}